<?php
require("header.php");
require("left.php");
?>

<h3>Vizualizare cadou</h3>
        
    <table width="95%">
        <tr><td width="125px"><b>ID</b></td><td><?php if(isset($object['id'])) echo $object['id']; ?></td></tr>
        <tr><td><b>Nume</b></td><td><?php if(isset($object['nume'])) echo $object['nume']; ?></td></tr>
        <tr><td><b>Poza</b></td><td><?php if(isset($object['poza'])) echo '<img src="'.$object['poza'].'" alt="'.$object['nume'].'" />'; ?></td></tr>
        <tr><td><b>Descriere</b></td><td><?php if(isset($object['descriere'])) echo $object['descriere']; ?></td></tr>
        <tr><td><b>Link</b></td><td><?php if(isset($object['link'])) echo '<a href="'.$object['link'].'">'.$object['link'].'</a>'; ?></td></tr>
        <tr><td><b>Categorie</b></td><td><?php if(isset($object['categorie'])) echo $object['categorie']; ?></td></tr>
    </table>
    
<?php
require("right.php");
require("footer.php");